.class public final Lcom/ninesky/browser/setting/i;
.super Ljava/lang/Object;


# static fields
.field private static c:Lcom/ninesky/browser/setting/i;

.field private static d:Lcom/ninesky/browser/setting/i;

.field private static e:Lcom/ninesky/browser/setting/i;


# instance fields
.field private a:I

.field private b:Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 4

    new-instance v0, Landroid/webkit/WebView;

    invoke-static {}, Lcom/ninesky/browser/setting/a;->r()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/webkit/WebView;-><init>(Landroid/content/Context;)V

    new-instance v1, Lcom/ninesky/browser/setting/i;

    const/4 v2, 0x0

    invoke-virtual {v0}, Landroid/webkit/WebView;->getSettings()Landroid/webkit/WebSettings;

    move-result-object v3

    invoke-virtual {v3}, Landroid/webkit/WebSettings;->getUserAgentString()Ljava/lang/String;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Lcom/ninesky/browser/setting/i;-><init>(ILjava/lang/String;)V

    sput-object v1, Lcom/ninesky/browser/setting/i;->c:Lcom/ninesky/browser/setting/i;

    new-instance v1, Lcom/ninesky/browser/setting/i;

    const/4 v2, 0x1

    const-string v3, "Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X;) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16"

    invoke-direct {v1, v2, v3}, Lcom/ninesky/browser/setting/i;-><init>(ILjava/lang/String;)V

    sput-object v1, Lcom/ninesky/browser/setting/i;->d:Lcom/ninesky/browser/setting/i;

    new-instance v1, Lcom/ninesky/browser/setting/i;

    const/4 v2, 0x2

    const-string v3, "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7;) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Safari/530.17"

    invoke-direct {v1, v2, v3}, Lcom/ninesky/browser/setting/i;-><init>(ILjava/lang/String;)V

    sput-object v1, Lcom/ninesky/browser/setting/i;->e:Lcom/ninesky/browser/setting/i;

    invoke-virtual {v0}, Landroid/webkit/WebView;->destroy()V

    return-void
.end method

.method private constructor <init>(ILjava/lang/String;)V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput p1, p0, Lcom/ninesky/browser/setting/i;->a:I

    iput-object p2, p0, Lcom/ninesky/browser/setting/i;->b:Ljava/lang/String;

    return-void
.end method

.method public static a(I)Lcom/ninesky/browser/setting/i;
    .locals 1

    const/4 v0, 0x0

    packed-switch p0, :pswitch_data_0

    :goto_0
    return-object v0

    :pswitch_0
    sget-object v0, Lcom/ninesky/browser/setting/i;->c:Lcom/ninesky/browser/setting/i;

    goto :goto_0

    :pswitch_1
    sget-object v0, Lcom/ninesky/browser/setting/i;->d:Lcom/ninesky/browser/setting/i;

    goto :goto_0

    :pswitch_2
    sget-object v0, Lcom/ninesky/browser/setting/i;->e:Lcom/ninesky/browser/setting/i;

    goto :goto_0

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
    .end packed-switch
.end method


# virtual methods
.method public final a()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/setting/i;->b:Ljava/lang/String;

    return-object v0
.end method
